package com.jeesite.modules.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 任务发布父表 table:ots_deploy_parent
 *
 * @author ya_jun
 */
@ApiModel(value = "任务发布父表", description = "任务发布父表")
public class OtsDeployParent implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 任务ID(自增长主键)
     */
    @ApiModelProperty(value = "任务ID(自增长主键)", name = "taskid")
    private Long taskid;

    /**
     * 任务描述
     */
    @ApiModelProperty(value = "任务描述", name = "tkname")
    private String tkname;

    /**
     * 任务标题
     */
    @ApiModelProperty(value = "任务标题", name = "title")
    private String title;

    /**
     * 任务分类ID(TK_TASK_CLASS表ID)
     */
    @ApiModelProperty(value = "任务分类ID(TK_TASK_CLASS表ID)", name = "classid")
    private Long classid;

    /**
     * 起始时间
     */
    @ApiModelProperty(value = "起始时间", name = "starttime")
    private Date starttime;

    /**
     * 终止时间
     */
    @ApiModelProperty(value = "终止时间", name = "endtime")
    private Date endtime;

    /**
     * 任务备注
     */
    @ApiModelProperty(value = "任务备注", name = "tkdesc")
    private String tkdesc;

    /**
     * 反馈时间点要求 0:无,1:按月,2:按季度,3:按半年,4:按周
     */
    @ApiModelProperty(value = "反馈时间点要求 0:无,1:按月,2:按季度,3:按半年,4:按周", name = "needbacktime")
    private Integer needbacktime;

    /**
     * 反馈时间每月几号、每周几
     */
    @ApiModelProperty(value = "反馈时间每月几号、每周几", name = "backtime")
    private Integer backtime;

    /**
     * 是周期任务?(0:不是,1:是)
     */
    @ApiModelProperty(value = "是周期任务?(0:不是,1:是)", name = "period")
    private Integer period;

    /**
     * 是分解任务?(0:不分解,1:责任科室/人分解，2:牵头单位分解)
     */
    @ApiModelProperty(value = "是分解任务?(0:不分解,1:责任科室/人分解，2:牵头单位分解)", name = "resolve")
    private Integer resolve;

    /**
     * 差异化数据
     */
    @ApiModelProperty(value = "差异化数据", name = "diffdata")
    private String diffdata;

    /**
     * 执行主体数量
     */
    @ApiModelProperty(value = "执行主体数量", name = "exsjnum")
    private Integer exsjnum;

    /**
     * 签收的数量
     */
    @ApiModelProperty(value = "签收的数量", name = "receivenum")
    private Integer receivenum;

    /**
     * 完成进度（状态,0:未完成，1:序时推进；2:已完成；3:滞后时序;4:取消任务）
     */
    @ApiModelProperty(value = "完成进度（状态,0:未完成，1:序时推进；2:已完成；3:滞后时序;4:取消任务）", name = "progress")
    private Integer progress;

    /**
     * 最新反馈时间
     */
    @ApiModelProperty(value = "最新反馈时间", name = "newbacktime")
    private String newbacktime;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人", name = "userid")
    private Long userid;

    /**
     * 创建人名称
     */
    @ApiModelProperty(value = "创建人名称", name = "username")
    private String username;

    /**
     * 状态(0:删除,1:待提交,2:待审核,3:审核中,4:审核驳回,5:任务签收驳回,16:任务接受签收, 17 任务接受审核中,18任务接受待安排,19任务接受已安排，20:待分解,21:分解驳回, 22:分解暂存，23:分解审核中。30 :待反馈,40:反馈中,45:暂停,50:完成全部反馈，60:已归档)
     */
    @ApiModelProperty(value = "状态(0:删除,1:待提交,2:待审核,3:审核中,4:审核驳回,5:任务签收驳回,16:任务接受签收, 17 任务接受审核中,18任务接受待安排,19任务接受已安排，20:待分解,21:分解驳回, 22:分解暂存，23:分解审核中。30 :待反馈,40:反馈中,45:暂停,50:完成全部反馈，60:已归档)", name = "status")
    private Integer status;

    /**
     * 任务年度
     */
    @ApiModelProperty(value = "任务年度", name = "years")
    private Integer years;

    /**
     * 任务来源ID
     */
    @ApiModelProperty(value = "任务来源ID", name = "sourceid")
    private Long sourceid;

    /**
     * 任务专题ID
     */
    @ApiModelProperty(value = "任务专题ID", name = "topicid")
    private Long topicid;

    /**
     * 分解到区县或单位(布尔型 必填)
     */
    @ApiModelProperty(value = "分解到区县或单位(布尔型 必填)", name = "toresolveunit")
    private String toresolveunit;

    /**
     * 量化目标值
     */
    @ApiModelProperty(value = "量化目标值", name = "target")
    private Double target;

    /**
     * 目标值单位
     */
    @ApiModelProperty(value = "目标值单位", name = "targetunit")
    private String targetunit;

    /**
     * 达标评判规则 1:完成值大于或等于目标值为达标,2:完成值小于或等于目标值为达标,3:完成值在左右浮动范围内为达标；默认为0（该字段为0则是非量化任务，大于0则是量化任务）
     */
    @ApiModelProperty(value = "达标评判规则 1:完成值大于或等于目标值为达标,2:完成值小于或等于目标值为达标,3:完成值在左右浮动范围内为达标；默认为0（该字段为0则是非量化任务，大于0则是量化任务）", name = "standard")
    private Integer standard;

    /**
     * 向上浮动值（只有standard为3时有值）
     */
    @ApiModelProperty(value = "向上浮动值（只有standard为3时有值）", name = "upfloat")
    private Double upfloat;

    /**
     * 向下浮动值（只有standard为3时有值）
     */
    @ApiModelProperty(value = "向下浮动值（只有standard为3时有值）", name = "downfloat")
    private Double downfloat;

    /**
     * 租户ID
     */
    @ApiModelProperty(value = "租户ID", name = "compid")
    private Long compid;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", name = "createtime")
    private Date createtime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间", name = "updatetime")
    private Date updatetime;

    /**
     * 任务无进展天数
     */
    @ApiModelProperty(value = "任务无进展天数", name = "remarks1")
    private Integer remarks1;

    /**
     * 连续滞后标识大于0代表连续滞后
     */
    @ApiModelProperty(value = "连续滞后标识大于0代表连续滞后", name = "remarks2")
    private Integer remarks2;

    /**
     * 备注三
     */
    @ApiModelProperty(value = "备注三", name = "remarks3")
    private String remarks3;

    /**
     * 备注4
     */
    @ApiModelProperty(value = "备注4", name = "remarks4")
    private String remarks4;

    /**
     * 存储任务的完成率
     */
    @ApiModelProperty(value = "存储任务的完成率", name = "remarks5")
    private String remarks5;

    /**
     * 备注6
     */
    @ApiModelProperty(value = "备注6", name = "remarks6")
    private String remarks6;

    /**
     * 创建人机构id
     */
    @ApiModelProperty(value = "创建人机构id", name = "userorgid")
    private Long userorgid;

    /**
     * 创建人机构名称
     */
    @ApiModelProperty(value = "创建人机构名称", name = "userorgname")
    private String userorgname;

    /**
     * 任务类型 0个人任务，1单位任务
     */
    @ApiModelProperty(value = "任务类型 0个人任务，1单位任务", name = "type")
    private Integer type;

    /**
     * 完成进度Double
     */
    @ApiModelProperty(value = "完成进度Double", name = "tempo")
    private Double tempo;

    /**
     * 查看时间
     */
    @ApiModelProperty(value = "查看时间", name = "readtime")
    private Date readtime;

    /**
     * 是否被分解.0:否；1：是
     */
    @ApiModelProperty(value = "是否被分解.0:否；1：是", name = "subtask")
    private Integer subtask;

    /**
     * 任务编号
     */
    @ApiModelProperty(value = "任务编号", name = "tasknumber")
    private String tasknumber;

    /**
     * 任务联系人
     */
    @ApiModelProperty(value = "任务联系人", name = "contacts")
    private String contacts;

    /**
     * 任务联系人电话
     */
    @ApiModelProperty(value = "任务联系人电话", name = "contactphone")
    private String contactphone;

    /**
     * 计划开始时间
     */
    @ApiModelProperty(value = "计划开始时间", name = "playstarttime")
    private Date playstarttime;

    /**
     * 计划结束时间
     */
    @ApiModelProperty(value = "计划结束时间", name = "playendtime")
    private Date playendtime;

    /**
     * 任务排序号
     */
    @ApiModelProperty(value = "任务排序号", name = "ordernum")
    private Integer ordernum;

    /**
     * 任务类型名称
     */
    private String sourceName;

    public Long getTaskid() {
        return taskid;
    }

    public void setTaskid(Long taskid) {
        this.taskid = taskid;
    }

    public String getTkname() {
        return tkname;
    }

    public void setTkname(String tkname) {
        this.tkname = tkname;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Long getClassid() {
        return classid;
    }

    public void setClassid(Long classid) {
        this.classid = classid;
    }

    public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public String getTkdesc() {
        return tkdesc;
    }

    public void setTkdesc(String tkdesc) {
        this.tkdesc = tkdesc;
    }

    public Integer getNeedbacktime() {
        return needbacktime;
    }

    public void setNeedbacktime(Integer needbacktime) {
        this.needbacktime = needbacktime;
    }

    public Integer getBacktime() {
        return backtime;
    }

    public void setBacktime(Integer backtime) {
        this.backtime = backtime;
    }

    public Integer getPeriod() {
        return period;
    }

    public void setPeriod(Integer period) {
        this.period = period;
    }

    public Integer getResolve() {
        return resolve;
    }

    public void setResolve(Integer resolve) {
        this.resolve = resolve;
    }

    public String getDiffdata() {
        return diffdata;
    }

    public void setDiffdata(String diffdata) {
        this.diffdata = diffdata;
    }

    public Integer getExsjnum() {
        return exsjnum;
    }

    public void setExsjnum(Integer exsjnum) {
        this.exsjnum = exsjnum;
    }

    public Integer getReceivenum() {
        return receivenum;
    }

    public void setReceivenum(Integer receivenum) {
        this.receivenum = receivenum;
    }

    public Integer getProgress() {
        return progress;
    }

    public void setProgress(Integer progress) {
        this.progress = progress;
    }

    public String getNewbacktime() {
        return newbacktime;
    }

    public void setNewbacktime(String newbacktime) {
        this.newbacktime = newbacktime;
    }

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getYears() {
        return years;
    }

    public void setYears(Integer years) {
        this.years = years;
    }

    public Long getSourceid() {
        return sourceid;
    }

    public void setSourceid(Long sourceid) {
        this.sourceid = sourceid;
    }

    public Long getTopicid() {
        return topicid;
    }

    public void setTopicid(Long topicid) {
        this.topicid = topicid;
    }

    public String getToresolveunit() {
        return toresolveunit;
    }

    public void setToresolveunit(String toresolveunit) {
        this.toresolveunit = toresolveunit;
    }

    public Double getTarget() {
        return target;
    }

    public void setTarget(Double target) {
        this.target = target;
    }

    public String getTargetunit() {
        return targetunit;
    }

    public void setTargetunit(String targetunit) {
        this.targetunit = targetunit;
    }

    public Integer getStandard() {
        return standard;
    }

    public void setStandard(Integer standard) {
        this.standard = standard;
    }

    public Double getUpfloat() {
        return upfloat;
    }

    public void setUpfloat(Double upfloat) {
        this.upfloat = upfloat;
    }

    public Double getDownfloat() {
        return downfloat;
    }

    public void setDownfloat(Double downfloat) {
        this.downfloat = downfloat;
    }

    public Long getCompid() {
        return compid;
    }

    public void setCompid(Long compid) {
        this.compid = compid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public Integer getRemarks1() {
        return remarks1;
    }

    public void setRemarks1(Integer remarks1) {
        this.remarks1 = remarks1;
    }

    public Integer getRemarks2() {
        return remarks2;
    }

    public void setRemarks2(Integer remarks2) {
        this.remarks2 = remarks2;
    }

    public String getRemarks3() {
        return remarks3;
    }

    public void setRemarks3(String remarks3) {
        this.remarks3 = remarks3;
    }

    public String getRemarks4() {
        return remarks4;
    }

    public void setRemarks4(String remarks4) {
        this.remarks4 = remarks4;
    }

    public String getRemarks5() {
        return remarks5;
    }

    public void setRemarks5(String remarks5) {
        this.remarks5 = remarks5;
    }

    public String getRemarks6() {
        return remarks6;
    }

    public void setRemarks6(String remarks6) {
        this.remarks6 = remarks6;
    }

    public Long getUserorgid() {
        return userorgid;
    }

    public void setUserorgid(Long userorgid) {
        this.userorgid = userorgid;
    }

    public String getUserorgname() {
        return userorgname;
    }

    public void setUserorgname(String userorgname) {
        this.userorgname = userorgname;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Double getTempo() {
        return tempo;
    }

    public void setTempo(Double tempo) {
        this.tempo = tempo;
    }

    public Date getReadtime() {
        return readtime;
    }

    public void setReadtime(Date readtime) {
        this.readtime = readtime;
    }

    public Integer getSubtask() {
        return subtask;
    }

    public void setSubtask(Integer subtask) {
        this.subtask = subtask;
    }

    public String getTasknumber() {
        return tasknumber;
    }

    public void setTasknumber(String tasknumber) {
        this.tasknumber = tasknumber;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getContactphone() {
        return contactphone;
    }

    public void setContactphone(String contactphone) {
        this.contactphone = contactphone;
    }

    public Date getPlaystarttime() {
        return playstarttime;
    }

    public void setPlaystarttime(Date playstarttime) {
        this.playstarttime = playstarttime;
    }

    public Date getPlayendtime() {
        return playendtime;
    }

    public void setPlayendtime(Date playendtime) {
        this.playendtime = playendtime;
    }

    public Integer getOrdernum() {
        return ordernum;
    }

    public void setOrdernum(Integer ordernum) {
        this.ordernum = ordernum;
    }

    public String getSourceName() {
        return sourceName;
    }

    public void setSourceName(String sourceName) {
        this.sourceName = sourceName;
    }

    @Override
    public String toString() {
        return "OtsDeployParent{" +
                "taskid=" + taskid +
                ", tkname='" + tkname + '\'' +
                ", title='" + title + '\'' +
                ", classid=" + classid +
                ", starttime=" + starttime +
                ", endtime=" + endtime +
                ", tkdesc='" + tkdesc + '\'' +
                ", needbacktime=" + needbacktime +
                ", backtime=" + backtime +
                ", period=" + period +
                ", resolve=" + resolve +
                ", diffdata='" + diffdata + '\'' +
                ", exsjnum=" + exsjnum +
                ", receivenum=" + receivenum +
                ", progress=" + progress +
                ", newbacktime='" + newbacktime + '\'' +
                ", userid=" + userid +
                ", username='" + username + '\'' +
                ", status=" + status +
                ", years=" + years +
                ", sourceid=" + sourceid +
                ", topicid=" + topicid +
                ", toresolveunit='" + toresolveunit + '\'' +
                ", target=" + target +
                ", targetunit='" + targetunit + '\'' +
                ", standard=" + standard +
                ", upfloat=" + upfloat +
                ", downfloat=" + downfloat +
                ", compid=" + compid +
                ", createtime=" + createtime +
                ", updatetime=" + updatetime +
                ", remarks1=" + remarks1 +
                ", remarks2=" + remarks2 +
                ", remarks3='" + remarks3 + '\'' +
                ", remarks4='" + remarks4 + '\'' +
                ", remarks5='" + remarks5 + '\'' +
                ", remarks6='" + remarks6 + '\'' +
                ", userorgid=" + userorgid +
                ", userorgname='" + userorgname + '\'' +
                ", type=" + type +
                ", tempo=" + tempo +
                ", readtime=" + readtime +
                ", subtask=" + subtask +
                ", tasknumber='" + tasknumber + '\'' +
                ", contacts='" + contacts + '\'' +
                ", contactphone='" + contactphone + '\'' +
                ", playstarttime=" + playstarttime +
                ", playendtime=" + playendtime +
                ", ordernum=" + ordernum +
                ", sourceName='" + sourceName + '\'' +
                '}';
    }
}